package com.fhj.bookshop.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fhj.bookshop.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fu
 * @since 2023-12-12
 */
public interface ProductMapper extends BaseMapper<Product> {
    @Select("SELECT DISTINCT pro_type FROM product")
    List<String> selectDistinctType();
}
